package remato.client.view.facade;

import remato.client.model.facade.IModelPersistable;

/**
 * @author petterei
 *
 * @version $Id: IModelChangeListener.java,v 1.2 2006-01-30 21:52:33 petterei Exp $
 */
public interface IModelChangeListener {

    /**
     * Structural updates. Requires updates of structures. Ie. adding an item
     * requires change in a tree-display of the model.
     */
    public void onModelChange(IModelPersistable targetChangeItem);
    
    public void onNewModelItemCreated(IModelPersistable createdItem);
    
    public void onModelItemDeleted(IModelPersistable deletedItem);

}
